package com.hzj.recipe.mapper;

import com.hzj.recipe.entity.Step;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.io.Serializable;
import java.util.List;

/**
* @author 蜗牛菌
* @description 针对表【step(步骤表)】的数据库操作Mapper
* @createDate 2024-01-04 10:49:47
* @Entity com.hzj.recipe.entity.Step
*/
@Repository
public interface StepMapper extends BaseMapper<Step> {

    //按食谱id找全部步骤
    List<Step> ListByRecipeId(@Param("recipeId") Serializable id);
}




